<%-- 
    Document   : showMessageDetails
    Created on : Mar 3, 2013, 6:05:29 PM
    Author     : mudassar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="../common/script.jsp" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
    </head>
    <body>

        <div class="in_02">
            <table  border="0" style="padding-top:20px;" width="480px;" height="200px;"  >
                <tr>
                    <td width="120px;"><b><spring:message code="sentOn"/>:</b></td> 
                    <td align="left" width="300px;"><fmt:formatDate value="${message.sentOn}" type="both" dateStyle="MEDIUM" timeStyle="MEDIUM" /></td>
                </tr>
                <tr>
                    <td width="120px;"><b><spring:message code="sentBy"/></b>:</td>
                    <td align="left" width="300px;"><c:out value="${message.sentBy.username}"/></td>
                </tr>

                <tr>
                    <td width="120px;"><b><spring:message code="subject"/>:</b></td>
                    <td align="left" width="300px;"><c:out value="${message.messageSubject}"/></td>
                </tr>  
                <tr>
                    <td width="120px;"><b><spring:message code="messageBody"/>:</b></td> 
                    <td width="300px;"></td>
                </tr>
                <tr>
                    <td></td>
                    <td><textarea rows="10" cols="50" readonly="true" >${message.messageBody}</textarea></td>
                </tr>



            </table>
        </div>
    </body>
</html>
